package com.ruoyi.expert.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * 任职经历表 cs_experience
 *
 * @author wyp
 */
public class Experience {
    /** 任职经历ID */
    private int qid;
    /** 单位名称 */
    private String unit;
    /** 入职时间 */
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date time;
    /** 职务 */
    private String q_office;
    /** 专业 */
    private String specialized;
    /** 专家ID */
    private int jid;

    public Experience(int qid, String unit, Date time, String q_office, String specialized, int jid) {
        this.qid = qid;
        this.unit = unit;
        this.time = time;
        this.q_office = q_office;
        this.specialized = specialized;
        this.jid = jid;
    }

    public Experience(){

    }

    public int getQid() {
        return qid;
    }

    public void setQid(int qid) {
        this.qid = qid;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getQ_office() {
        return q_office;
    }

    public void setQ_office(String q_office) {
        this.q_office = q_office;
    }

    public String getSpecialized() {
        return specialized;
    }

    public void setSpecialized(String specialized) {
        this.specialized = specialized;
    }

    public int getJid() {
        return jid;
    }

    public void setJid(int jid) {
        this.jid = jid;
    }
}
